package research.model;

import java.util.ArrayList;
import java.util.List;

import research.domain.Viscosity;
import research.entity.Entity;
import research.entity.EntityType;

public class ViscosityHierarchy implements IHierarchyProvider {

	@Override
	public List<Entity> getChildren(Entity entity) {
		return new ArrayList<Entity>(((Viscosity) entity).getViscosityValues());
	}

	@Override
	public Entity getParent(Entity entity) {
		return null;
	}

	@Override
	public EntityType getRootType() {
		return null;
	}

	@Override
	public boolean hasChildren(Entity entity) {
		return false;
	}

	@Override
	public boolean supportsType(EntityType type) {
		return false;
	}
	
}